home *** CD-ROM | disk | FTP | other *** search
- // Copyright (C) 1997-2002 Alias|Wavefront,
- // a division of Silicon Graphics Limited.
- //
- // The information in this file is provided for the exclusive use of the
- // licensees of Alias|Wavefront. Such users have the right to use, modify,
- // and incorporate this code into other products for purposes authorized
- // by the Alias|Wavefront license agreement, without fee.
- //
- // ALIAS|WAVEFRONT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
- // EVENT SHALL ALIAS|WAVEFRONT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
- // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
- // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
- // TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- // PERFORMANCE OF THIS SOFTWARE.
- //
- //
- // Alias|Wavefront Script File
- //
- // Creation Date: June 16, 1997
- // Author: sw
- //
- // Procedure Name:
- // AEhyperViewTemplate
- //
- // Description Name;
- // Creates the attribute editor controls for the hyperView node
- //
- // Input Value:
- // nodeName
- //
- // Output Value:
- // None
- //
-
-
- global proc AEhyperViewDescriptionReplace ( string $description )
- {
-
- string $conDescription = `getAttr $description`;
- textField -e -tx $conDescription
- -cc ("setAttr " + $description +
- " -type \"string\" " +
- " `textField -q -tx descriptionConnected`;" )
- descriptionConnected;
- }
-
-
- global proc AEhyperViewDescriptionNew ( string $description )
- {
- setUITemplate -pst attributeEditorTemplate;
-
- string $conDescription = `getAttr $description`;
- rowLayout -nc 3;
- text -l "Description" descriptionName;
- textField -tx $conDescription
- -cc ("setAttr " + $description +
- " -type \"string\" " +
- " `textField -q -tx descriptionConnected`;" )
- descriptionConnected;
- text " ";
- setParent ..;
-
- setUITemplate -ppt;
- }
-
-
- global proc AEhyperViewTemplate ( string $nodeName )
- {
- editorTemplate -beginScrollLayout;
-
- editorTemplate -beginLayout "Hyper View Attributes" -collapse 0;
- editorTemplate -callCustom "AEhyperViewDescriptionNew"
- "AEhyperViewDescriptionReplace"
- "description";
- editorTemplate -addControl "position";
- editorTemplate -addControl "dagView";
- editorTemplate -addControl "focusNode";
- editorTemplate -addControl "buildDirection";
- editorTemplate -addControl "rootNode";
- editorTemplate -endLayout;
-
- // suppressed attributes
-
- editorTemplate -suppress "description";
- editorTemplate -suppress "fullName";
- editorTemplate -suppress "shortName";
- editorTemplate -suppress "viewRectLow";
- editorTemplate -suppress "viewRectHigh";
-
- // include/call base class/node attributes
- AEdependNodeTemplate $nodeName;
-
- editorTemplate -addExtraControls;
- editorTemplate -endScrollLayout;
- }
-